package com.speedy.course.db.entity

import android.os.Parcelable
import androidx.room.Entity
import androidx.room.PrimaryKey
import kotlinx.parcelize.Parcelize

@Parcelize
@Entity(tableName = "lesson")
data class Lesson (


    val weekDay:Int?= null,
    val hour:Int?= null,
    val minute:Int?= null,
    val name:String? = null,
    val weekType:Int?= null,
    val extraInfo:LessonExtraInfo? = null,

    @PrimaryKey(autoGenerate = true)
    var id:Int? = 0,

): Parcelable
